namespace KYO.DAL {
    using System;
    using System.Text;
    using System.Collections;
    using System.Collections.Generic;
    
    public partial class ProjectImage : ObjectPersistence.ORNetBaseType {
        public ProjectImage() {
        }
        public ProjectImage(string ImageUrl, string LinkUrl, int Odering, bool Published, string Title, string Type) {
            this.ImageUrl = ImageUrl;
            this.LinkUrl = LinkUrl;
            this.Odering = Odering;
            this.Published = Published;
            this.Title = Title;
            this.Type = Type;
        }
        public ProjectImage(int ProjectImageID, string ImageUrl, string LinkUrl, int Odering, bool Published, string Title, string Type) {
            this.ProjectImageID = ProjectImageID;
            this.ImageUrl = ImageUrl;
            this.LinkUrl = LinkUrl;
            this.Odering = Odering;
            this.Published = Published;
            this.Title = Title;
            this.Type = Type;
        }

        public int ProjectImageID {
            get {
                return _ProjectImageID;
            }
            set {
                this._ProjectImageID = value;
                this.ChangesMade = true;
            }
        }
        public string ImageUrl {
            get {
                return _ImageUrl;
            }
            set {
                this._ImageUrl = value;
                this.ChangesMade = true;
            }
        }
        public string LinkUrl {
            get {
                return _LinkUrl;
            }
            set {
                this._LinkUrl = value;
                this.ChangesMade = true;
            }
        }
        public int Odering {
            get {
                return _Odering;
            }
            set {
                this._Odering = value;
                this.ChangesMade = true;
            }
        }
        public bool Published {
            get {
                return _Published;
            }
            set {
                this._Published = value;
                this.ChangesMade = true;
            }
        }
        public string Title {
            get {
                return _Title;
            }
            set {
                this._Title = value;
                this.ChangesMade = true;
            }
        }
        public string Type {
            get {
                return _Type;
            }
            set {
                this._Type = value;
                this.ChangesMade = true;
            }
        }




        private int _ProjectImageID;
        private string _ImageUrl;
        private string _LinkUrl;
        private int _Odering;
        private bool _Published;
        private string _Title;
        private string _Type;


        public string ROKeyString {
            get {
                return ("KYO.DAL.ProjectImage" + ProjectImageID.ToString());
            }
        }

    }
}
